package com.example.service.impl;

import com.example.domain.Class;
import com.example.mapper.ClassMapper;
import com.example.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassServiceImpl implements ClassService {
    @Autowired
    private ClassMapper classMapper;

    @Override
    public List<Class> getAllClasses() {
        return classMapper.getAllClasses();
    }
} 